package com.hushao.lims.weblims.repository;

import com.hushao.lims.weblims.domain.EquipmentInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.math.BigDecimal;

/**
 * @author 930588706
 * @date 18/1/22
 * 器材
 */
public interface EquipmentRepository extends JpaRepository<EquipmentInfo,Long> {
    /**
     * 根据器材名称，规格，价格查询器材信息
     * @param equipmentName
     * @param equipmentSpecifications
     * @param equipmentPrice
     * @return
     */
    EquipmentInfo findByEquipmentNameAndEquipmentSpecificationsAndEquipmentPrice(String equipmentName, String equipmentSpecifications, BigDecimal equipmentPrice);
}
